@import "./sass/_variable.scss";
@import "./sass/_base.scss";

#enrollment-list {
  @extend .flex;
  @extend .flex-v;
  height: 100%;
  .noData {
    font-size: 20rem / $baseFontSize;
    color: $mainColor;
    text-align: center;
    line-height: 3;
  }
  .weui_search_bar {
    background-color: #fff;
  }
  .enrollment-items {
    @extend .flex-1;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    li {
      margin-bottom: $emptyWidth;
      background-color: #fff;
    }
    img {
      display: block;
      width: 100%;
    }
  }
  .enrollment-text {
    position: relative;
    padding: 3rem / $baseFontSize 0 8rem / $baseFontSize 20rem / $baseFontSize;
    line-height: 1.6;
    h3 {
      font-size: 18rem / $baseFontSize;
      font-weight: normal;
      color: $mainColor;
      margin: 6rem / $baseFontSize 0 0;
    }
    p {
      overflow: hidden;
      font-size: 0;
      span {
        float: left;
        font-size: 16rem / $baseFontSize;
        color: #666;
        vertical-align: middle;
        padding-left: 22rem / $baseFontSize;
        background: no-repeat left center;
        background-size: 18rem / $baseFontSize;
      }
      span.enrollment-time {
        margin-right: 8rem / $baseFontSize;
        background-image: url('../images/clock.png');
      }
      span.enrollment-num {
        background-image: url('../images/person.png');
      }
    }
    &:before {
      content: '';
      position: absolute;
      bottom: 100%;
      left: 20rem / $baseFontSize;
      width: 0;
      height: 0;
      border-width: 5rem / $baseFontSize 10rem / $baseFontSize;
      border-style: solid;
      border-color: transparent transparent #FFFFFF transparent;
    }
  }
  /*.pub-header {
    position: absolute;
    right: 18rem / $baseFontSize;
    top: -17.5rem / $baseFontSize;
    font-size: 0;
    span {
      color: #7e7e7e;
      margin-right: 16rem / $baseFontSize;
      vertical-align: bottom;
      font-size: 14rem / $baseFontSize;
    }
    img {
      display: inline-block;
      vertical-align: bottom;
      width: 35rem / $baseFontSize;
      height: 35rem / $baseFontSize;
      border-radius: 100%;
      border: 1px solid #7e7e7e;
    }
  }*/
}
